// 终端
// 终端详情
export function getTerminalDetail(params) {
  return uni.$http.post('/small/program/terminalDetailQuery', { ...params })
}
// 终端详情查询
export function terminalDetailInfoQuery(params) {
  return uni.$http.get('/terminal/terminal/queryById', { ...params, isFormData: true })
}

// 终端详情编辑
export function editTerminalDetailInfo(params) {
  return uni.$http.post('/terminal/terminal/edit', { ...params })
}
// 获取字典
export function getDictData(params) {
  return uni.$http.get('/sys/dictItem/list', { ...params })
}
// 附近终端筛选页
export function getTerminalNearBy(params) {
  return uni.$http.get('/smallProgram/OMmission/terminalNearBy', params)
}
// 农污终端列表
export function getTerminalList(params) {
  return uni.$http.get('/terminal/terminal/list', params)
}
// 终端设施列表
export function getFacilityList(params) {
  return uni.$http.get('/equ1/terminalFacility/list', params)
}
// 获取终端下设备列表
export function getEquipmentList(params) {
  return uni.$http.get('/paishui/equipment/list', params)
}